import gulp from 'gulp';
import plugins_ from 'gulp-load-plugins';
import config_ from '../taskconfig';
var plugins = plugins_();
var config = config_.server;

gulp.task('webserver', () => {
    return gulp.src(config.src)
            .pipe(plugins.webserver({
                livereload: true,
                open: true,
                directoryListing: true
            }));
});
